<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>主面板</title>
  <link rel="stylesheet" href="../../assets/css/mui.min.css" />
  <link rel="stylesheet" href="../../assets/css/app.css" />
</head>
<body>
	<header class="mui-bar mui-bar-nav">
	    <h1 class="mui-title">主面板</h1>
	</header>
	<script src="../../lib/mui.min.js" ></script>
	<script src="../../lib/vue.min.js" ></script>
	<script src="../../assets/js/config.js"></script>
	<script src="../../assets/js/util.js"></script>
	<script type="text/javascript">
		mui.init();
		//重写返回监听
		var first = null;
		mui.back = function() {
		    //首次按键，提示‘再按一次退出应用’
		    if (!first) {
		        first = new Date().getTime();
		        mui.toast('再按一次退出应用');
		        setTimeout(function() {
		            first = null;
		        }, 1000);
		    } else {
		        if (new Date().getTime() - first < 1000) {
		            plus.runtime.quit();
		        }
		    }
		};
		mui.plusReady(function () {
			plus.navigator.setStatusBarStyle('light');
			plus.webview.currentWebview().setStyle({ // 禁止ios设备侧滑返回
			    'popGesture': 'none'
			});
//			Main.init();
		});
	</script>
</body>
</html>